package com.nwpu.coursesupport.mapper;

import java.util.List;

import com.nwpu.coursesupport.criteria.BatchAddResourceAssignSearchCriteria;
import com.nwpu.coursesupport.criteria.LessonResourceSearchCriteria;
import com.nwpu.coursesupport.entity.LessonResource;
import com.nwpu.coursesupport.entity.Respository;
import com.nwpu.coursesupport.view.ResourceAssignView;

public interface LessonResourceMapper extends BaseMapper<LessonResource>{
    
	public List<Respository> findByLessonId(LessonResourceSearchCriteria sc);
    
	public List<ResourceAssignView> assignList(int id);
	
	public List<Integer> getResourceByLessonId(BatchAddResourceAssignSearchCriteria sc);
	
	public int batchSave(List<LessonResource> lrs);
	
	public List<Integer> findLessonIdById(int id);
}